<?php namespace App\Admin\Supplier\Goods;

use App\Core\Model as BaseModel;

class Model extends BaseModel {

    protected $table = 'supplier_goods';
    protected $primaryKey = 'id';


    public function supplier(){
        return $this->belongsTo('App\Admin\Supplier\Supplier\Model', 'supplier_id', 'id');
    }

}